using System.Text.RegularExpressions;
using System.Web.UI.WebControls;
using System.Windows.Shapes;

namespace H.Y.Clipboard
{
    public class Macros
    {
        public class DBStatus
        {
           public static string DatabaseError = "数据库错误 | DatabaseError";
           public static string AccountAlreadyExisted = "用户已存在 | AccountAlreadyExisted";
           public static string AccountNotExistOrWrongPassword = "账号或密码错误 | AccountNotExistOrWrongPassword";
           public static string UserNotExist = "用户不存在 | UserNotExist";
           public static string NoContent = "没有内容 | NoContent";
           public static string OK = "完成 | OK";
        }

        public class DBTags
        {
            public static string STATUS = "status";
            public static string UID = "uid";
            public static string CID = "cid";
            public static string ACCOUNT = "account";
            public static string REASON = "reason";
            public static string NICKNAME = "nickname";
            public static string PACK = "pack";
            public static string TIME = "time";
            public static string READ = "read";
            public static string DEVICE = "device";
            public static string CONTENT = "content";
            public static string ACTION = "action";
            public static string PASSWORD = "password";
			public static string SIGNED = "signed";
        }
        
        public class Actions
        {
            public const string SIGNUP = "signup";
            public const string LOGIN = "login";
            public const string FETCH = "fetch";
            public const string PUSH = "push";
            public const string QUERY = "query";
            public const string UNDEFINED = "undefined";
            public const string ALIVE = "alive";
            public const string READ = "read";
        }

        public class Status
        {
            public const string SUCCESSFUL = "successful";
            public const string FAILED = "failed";
        }
    }
}